package com.junko.service.back.impl;

import com.junko.core.base.BaseServiceImpl;
import com.junko.dao.back.UploadDao;
import com.junko.model.back.Upload;
import com.junko.service.back.IUploadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UploadServiceImpl extends BaseServiceImpl<Upload> implements IUploadService {
    @Autowired
    private UploadDao dao;

    @Override
    public int deleteByPath(String path) {
        return dao.deleteByPath(path);
    }
}